]> dgit.raspbian.org Git - gnome-shell.git/commit
systemActions: Don't log error when cancelled
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 21 Oct 2025 22:57:26 +0000 (00:57 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 24 Oct 2025 15:37:15 +0000 (15:37 +0000)
commitd3f3f4e80d338133a2083dd5c267ed456b86303d
tree41a95b3e8a4056ffa8efe28bb20a4abb6aaa4682
parentf1cd8520b7c7f0f9ee2dbb57623bba972f2cfd2c
systemActions: Don't log error when cancelled

If the logout/reboot/shutdown actions are available, we expect them
to succeed. Unfortunately that changed in the light of systemd
inhibitors (that we don't know about in the shell, and that prevent
those actions now).

While it would be good to fix the underlying issue, we can at least
improve the error reporting in that case and not log the error when
the operation was cancelled: We don't know the underlying reason,
unlike gnome-session which should have logged a more helpful message.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8749
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3927>
js/misc/systemActions.js